/*
 *  Copyright (C) 2011  Clint Priest
 *
 *  This file is part of Snap Graph.
 *
 *  Snap Graph is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Snap Graph is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Snap Graph.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

/* SnapGraph class is created an instantiated for all instances via bootloader.js */
SnapGraph = new (Class.create({
	initialize: function() {
		
		/* Import anything already defined into SnapGraph.* (like Prefs) */
		Object.keys(SnapGraph).forEach( function(Name) {
			this[Name] = SnapGraph[Name];
		}, this);
	}
}))();
